package com.yingxin.yxerp.module.appversion.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yingxin.yxerp.module.appversion.entity.AppVersion;
import com.yingxin.yxerp.module.appversion.vo.req.AppVersionQueryVo;
import com.yingxin.yxerp.module.appversion.vo.resp.AppVersionRespVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * app version Mapper 接口
 * @author yuebao
 * @since 2022-12-26
 */

public interface AppVersionMapper extends BaseMapper<AppVersion> {

    AppVersionRespVo getVersionTopOne(@Param("queryObj") AppVersionQueryVo queryObj);

    List<AppVersionRespVo> listVo(@Param("queryObj") AppVersionQueryVo queryObj);

    AppVersionRespVo getVo(@Param("id") String id);

}
